list_name=[]
sum=0
for i in range(1,11):
    a=input("请输入一个数：")
    if a.isdigit():
        list_name.append(a)
        sum=sum+int(a)
    else:
        print("请输入数字")
j = list_name[0]
for a in list_name:
    if j<=a:
        j=a
print(j)
print("和值为：%d" %sum)
print("平均值为:", sum/10)

